<template>
  <div>
    <van-nav-bar
        title="关于我们"
        left-text="返回"
        left-arrow
        fixed
        @click-left="onClickLeft"
    />
  </div>

  {{ count }}秒后返回网站首页
</template>

<script setup>
const onClickLeft = () => history.back();
import {onMounted, reactive, ref} from "vue";
const count=ref(0)
onMounted(()=>{
  setInterval(()=>{
    count.value++
  },1000)
})

</script>

<style scoped>

</style>
